package com.qrxl.user.vo.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "树形结构菜单返回", description = "请求参数类")
public class MenuTreeRes {

    @ApiModelProperty(value = "id", required = true)
    String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "地址")
    private String url;

    @ApiModelProperty(value = "图标")
    private String menuIcon;

    @ApiModelProperty(value = "更新时间")
    Date updateTime;

    @ApiModelProperty(value = "是否在新标签打开")
    private Integer tabFlag;

    @ApiModelProperty(value = "描述")
    String description;

    @ApiModelProperty(value = "下节菜单")
    List<MenuTreeRes> subMenu;
}
